Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

chore: skip the internal retry if last_statement is set - #4190

Merged
gcf-merge-on-green[bot] merged 1 commit into
mainfrom
skip-retry-if-last-statement-flag-is-set
Oct 31, 2025
Merged

chore: skip the internal retry if last_statement is set#4190
gcf-merge-on-green[bot] merged 1 commit into
mainfrom
skip-retry-if-last-statement-flag-is-set

Conversation

@olavloite

Copy link
Copy Markdown
Collaborator

If the first statement in a transaction carries an InlineBeginTransaction option, the transaction will be retried if the statement fails, as the RPC did not return a transaction ID. This retry can be skipped if the statement also carried the last_statement flag, as no more statements are allowed after that statement.

If the first statement in a transaction carries an InlineBeginTransaction option,
the transaction will be retried if the statement fails, as the RPC did not return
a transaction ID. This retry can be skipped if the statement also carried the
last_statement flag, as no more statements are allowed after that statement.
@olavloite
olavloite requested review from a team October 31, 2025 09:12
@product-auto-label product-auto-label Bot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/java-spanner API. labels Oct 31, 2025
@olavloite olavloite added the automerge Merge the pull request once unit tests and other checks pass. label Oct 31, 2025
@gcf-merge-on-green
gcf-merge-on-green Bot merged commit 54f4b5a into main Oct 31, 2025
41 of 42 checks passed
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Oct 31, 2025
@gcf-merge-on-green
gcf-merge-on-green Bot deleted the skip-retry-if-last-statement-flag-is-set branch October 31, 2025 09:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spanner Issues related to the googleapis/java-spanner API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants